import Mock from 'mockjs';

let item = [{
		key: "/hy/all",
		method: "get",
		param: {
			
		},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA|1-4': [{
					"storeid|4": /[A-Z][a-z][0-9][0-9][0-9][0-9][0-9][0-9]/,
					"sname": "@cword(6,9)",
					"sdz": "@csentence",
					"jd": "31.269689",
					"wd": "121.305338",
					"fm": "@image('200x200')",
					"sheng": "code",
					"shengmc": "黑龙江省",
					"shi": "code",
					"shimc": "哈尔滨市",
					"qu": "code",
					"qumc": "道里区",

				}]
			});
		}
	},
	{
		key: "/hy/page",
		method: "get",
		param: {
		},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA': {
					'current': 0,
					'size': 10,
					'pages': 6,
					'total': 55,
					"records|10": [{
						"hyjlid":"@natural",
						"nc": "@cname()",
						"jlname":"@cname()",
						"zq":"20",
						"hlname":"月卡",
						"jlid":1001,
						"jlname":"@cname()",
						"jcover":"https://bpic.588ku.com/element_origin_min_pic/25/02/19/663e1e3d8eeb59b984ad4570d84339e3.jpg",
						"clientid":"@cname()",
						"nc":"@cname()",
						"heading":"https://bpic.588ku.com/element_origin_min_pic/24/12/13/d651ada66fe9f52addd89b7b0dfb1905.jpg",
						"cd":"@date()",
						"ed":"@date()",
						

						
					}]
				}
			});
		}
	},
	{
		key: "/hy/info",
		method: "get",
		prarm: {
		},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA': {
			hy:{
					hyjlid:"@natural",
					"zq": 5,
					"nc": "@cname()",
					"cd": "@date()",
					"sd": "@date()",
					"ed": "@date()",
					"pflg|1": ["0", "1"],
					"tkflg|1":["U", "R", "J"],
					"stu|1": ["U", "R", "F"],
					},
					
				"client":{
					"clientid":"101",
					"nc": "@cname",
					"sex|1": [true,false],
					"age": "25",
					"heading": "//bpic.588ku.com/element_origin_min_pic/23/06/30/58d5112774fab4d3f2706d2ce7515178.jpg",
					"from": "@cname",
					"tel": "15623569856",
					},
					
					"hylx":{
						"hylxid":"10001",
						"hlname":"月卡",
						"jlid":"@cname",
						"amount":200,
						"zq":5,
						"flg":[true,false],
						"stu":[true,false],
						"cs":5,
					},
					
					"jl":{
						"jlid|4": /[A-Z][a-z][0-9][0-9][0-9][0-9][0-9][0-9]/,
						"jlname": "@cname()",
						"birth": "@date()",
						"tel|11":/[0-9]/,
						"lx":["游泳","散打"],
						"cover": "https://bpic.588ku.com//back_origin_min_pic/23/04/19/1b1bc774e6715a2ae839bdc743f24b54.jpg",
						"imgs":[
							"https://bpic.588ku.com//back_origin_min_pic/23/04/19/1b1bc774e6715a2ae839bdc743f24b54.jpg",
							"https://bpic.588ku.com//back_origin_min_pic/23/04/19/fa3a299fe14253086c63f33607c4ebbf.jpg",
							],
						"yj":200,
						"count":4.6,
						"ms":`<div>
						<p>蛋白粉,吃完尿裤</p>
						<img src="https://bpic.588ku.com//back_origin_min_pic/23/04/19/fa3a299fe14253086c63f33607c4ebbf.jpg">
						</div>`,
					}
				}
				
			})
		}
	},

	{
		key: "/hy/info",
		method: "post",
		param: {
		},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA': {

				}
			})
		}
	},
	{
		key: "/hy/info",
		method: "put",
		param: {
		},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA': {

				}
			})
		}
	},
	{
		key: "/hy/info",
		method: "delete",
		param: {
			empId: '',
		},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA': {

				}
			})
		}
	},

]
export default item;